package com.kakarote.admin.service;

import com.kakarote.admin.entity.PO.AdminDataAuthDept;
import com.kakarote.core.servlet.BaseService;

import java.util.List;

/**
 * <p>
 * 数据权限和部门关联表 服务类
 * </p>
 *
 * @author lizhihui
 * @since 2023-10-17
 */
public interface IAdminDataAuthDeptService extends BaseService<AdminDataAuthDept> {

    void saveDataAuthDept(List<AdminDataAuthDept> authDeptList, Long roleId);

    List<AdminDataAuthDept> queryDeptByRoleId(Long roleId);
}
